package cn.tjie.product.mapper;

import cn.tjie.product.domain.Product;
import cn.tjie.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tjie
 * @since 2023-02-22
 */
public interface ProductMapper extends BaseMapper<Product> {
    void onsale(@Param("id") Long id, @Param("date")Date date);

    void offsale(@Param("ids")List<Long> ids, @Param("date")Date date);
}
